﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using _4T.Data;
using _4T.DAL;

namespace _4T.BLL
{
    public class ProfileFilterInfoBLL
    {
        public ProfileFilterInfoBLL() { }

        public int InsertProfileFilterInfo(int profileInfoID, bool isAccept, string filterContent,
                                                string filterer)
        {
            ProfileFilterInfoDAL filterDAL = new ProfileFilterInfoDAL();
            return filterDAL.InsertProfileFilterInfo(profileInfoID, isAccept, filterContent, filterer);
        }

        public CMS_ProfileFilterInfo GetProfileFilterInfo(string profileInfoCode)
        {
            ProfileFilterInfoDAL filterDAL = new ProfileFilterInfoDAL();
            return filterDAL.GetProfileFilterInfo(profileInfoCode);
        }
    }
}